<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/12/12/012
 * Time: 14:42
 */

namespace app\api\model;


class OrderAfterSaleImg extends BaseModel {

    protected $hidden = ['update_time','create_time'];

    public function getImageAttr($value) {
        return get_img_url($value);
    }

    public static function saveAftermarketImg($aftermarket_img_data) {
        self::saveAll($aftermarket_img_data);
    }
}